import com.ruoyi.common.core.domain.model.LoginUser;
import com.ruoyi.common.utils.SecurityUtils;
import org.junit.Test;

public class currentUser {

    @Test
    public void getCurrentUser(){
        LoginUser loginUser = SecurityUtils.getLoginUser();
        System.out.println(loginUser);
    }
}
